/****************************************************************
*  COPYRIGHT MorningCore CO.,LTD                               *
*****************************************************************/
/****************************************************************
 * FileName:    <PUSCH_Precoding.h>
 * version:     <1.0.0>
 * Purpose:     <Header file of PUSCH_Precoding.c>
 * Authors:     <...>
 * Notes:       <The limitations to use this file>
 ****************************************************************/

/******************************************************************************
*  HISTORY OF CHANGES
*   <Date>          <Author>        <Version>       <DESCRIPTION>
*   ...             ...              ...            ....
******************************************************************************/

#ifndef _ue_tx_pusch_scrambling_fix
#define _ue_tx_pusch_scrambling_fix

/*-----------including external files -----------------------------*/
#include "../../../../CommLib_FltC/MacroDef.h"
#include "../../../../CommLib_FltC/Typedef.h"
#include "../../../../CommLib_FxpC/lib_arith_N.h"
#include "../../common/head/NR_UL_macro.h"
#include "math.h"
#include "stdlib.h"
#include "../head/ue_tx_srp_pusch_fe_fix.h"
//#define _CRT_SECURE_NO_DEPRECATE
/*-----------external variable declaration-------------------------*/

/*-----------constant and type declaration-------------------------*/

/*-----------macro declaration-------------------------------------*/

/*-----------variable declaration-----------------------------------*/

/*-----------Function or task prototype declaration-----------------*/
void PUSCHScrambling_fix
(
    IN int8     P_DataIp[],//add by lixiaojiao for R11 PUSCH one cw to two layers
    IN int32    PUSCH_BitLen,
    IN int32    CiniForPUSCH,
    OUT int8    P_DataOp[],//add by lixiaojiao for R11 PUSCH one cw to two layers
    IN stULParamTable *SimParam
);
uint32 x1_update_usp_fix(uint32 x1);   // CR-Req00000033
uint32 x2_update_usp_fix(uint32 x2);   // CR-Req00000033
#endif;











